<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			#test1{
				background: deeppink;
				margin-top: 50px;
			}
		</style>
	</head>
	<body>
		<div id="test1">
			<!-- 经常在img中使用vertical-align -->
			<span style="font: 1em;background: pink;line-height: 1.5;">垂直居中</span>
			<span style="font: 2em;background: pink;line-height: 1.5;">垂直居中</span>
			<span style="font: 3em;background: pink;line-height: 1.5;">垂直居中</span>
		</div>
	</body>
</html>
